<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.hz.model.User"%>
<%
    request.setCharacterEncoding("utf-8");
    User session_cu = (User)session.getAttribute("user");
    String pathtt = request.getContextPath();
    String basePathxbc = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+pathtt+"/";
	String logout =basePathxbc+"volunteer/pages/login.html";
    if(session_cu==null)
    response.setHeader("refresh","0;URL="+logout) ;
%>